package com.apollow.oschina.ui;

import android.os.Bundle;
import android.support.annotation.Nullable;

import com.apollow.oschina.base.BaseActivityVPAdapter;
import com.apollow.oschina.base.BaseVPActivity;
import com.apollow.oschina.fragment.FansFragment;
import com.apollow.oschina.fragment.FollowFragment;

/**
 * Created by Dragon on 2017/1/14.
 */
public class InformationActivity extends BaseVPActivity{
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    protected String setTitle(String text) {
        return "消息中心";
    }

    @Override
    protected void setupTab(BaseActivityVPAdapter vpAdapter) {
        vpAdapter.addTab("@我", FollowFragment.class,getBundle("关注"));
        vpAdapter.addTab("评论", FollowFragment.class,getBundle("评论"));
        vpAdapter.addTab("留言", FollowFragment.class,getBundle("留言"));
        vpAdapter.addTab("粉丝", FansFragment.class,getBundle("粉丝"));
        vpAdapter.addTab("赞过我", FollowFragment.class,getBundle("赞过我"));
    }
}
